package com.vhall.component.entity.room.vo;

import com.vhall.component.framework.common.annotation.ParamName;
import com.vhall.component.plugin.common.annotation.CheckTimeInterval;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * @author jingwen.li
 * @date 2022/2/15
 */
@Data
@CheckTimeInterval(startTime = "begin_time")
public class PushStreamListReqVO implements Serializable {

    @ParamName(value = "begin_time")
    private String beginTime;

    @ParamName(value = "end_time")
    private String endTime;

    @NotBlank(message = "room_id不能为空")
    @ParamName("room_id")
    private String roomId;

    private Integer page = 1;

    private Integer pageSize = 20;

    private String token;
}
